Added sort() to query set