[Core] Implements mysql ORDER BY #35