BUGFIX MySQL: Sorting by uniqueId