Added sorting for quarters in the select. Fixes #1