Просмотр поста

.
SlyDeath

Решил сам

SELECT * FROM `table_name` WHERE type='vote' ORDER BY FIELD(value, '1','NULL','-1');