Add order criterion to identifier in ORDER BY clause (fixes #89).