Python Sort Array By Object Property