port shallow build sorting to js so that we can include running builds
port shallow build sorting to js so that we can include running builds

circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,RayRutjes/frontend,circleci/frontend