made half assed attempt at sorting objects in gist container