added sort by username - ugly SQL required