Fix branchOrder to return an error if it's given an invalid branch number
Merge pull request #60 from gsalgado/vp

Fix branchOrder to return an error if it's given an invalid branch number