Question: Here's a SQLFiddle link to be able to quickly visualize sample data.

<http://www.sqlfiddle.com/#!6/48245/8>

Basically I'm selecting all runs for each WO that will be on the current Line, that works fine, but I want to order them by the current line's sequence with the runs from the prior line above the run on the current line. I've tried a handful of ideas and none of them have panned out.

For example I want the end result of the sample data to look like:

```
Line    Seq     WO

Line2    1     1221
Line2    2     1222
Line1    8     1234
Line2    3     1234
Line1    2     1235
Line2    4     1235
Line2    5     1240

```

Thanks in Advance!

Answer: 
i hope this is not coming to late, but Heroku deployments require a full Git clone. By default, Pipelines clones your repository with a depth of 50 to shorten your build time. You can configure your Pipeline to do a full Git clone in your bitbucket-pipelines.yml file.

try adding full clone depth to your yml file

```
  image: node:6
  clone:
     depth: full

```
The problem (could be) that you are probably used `git clone --depth ..` for your repository and that created so called shallow copy (without history).
If you cloned **somebody else repository** (!), just delete /.git folder and create a recreate repository as *new* with 

```
cd <my-project>/
git init

```

Then you can push even with remote `https://<youprojectname>.herokuapp.com/`