sort elements so animations aren't always at the bottom.