Sort entity selects