rose edit: sort keys as tuples, updated app