Cleaner key filtering, sort ID field to the top. Closes #46.